<?php

include "config.php";
include "../lib/tbatv_lib.php";

$team = $_GET['team'];

if (is_numeric($team)) {
    if ($MOD_REWRITE_ON) {
        header("location: " . $BASE_PATH . "team/" . $team);
    } else {
        header("location: " . $BASE_PATH . "team.php?team=" . $team);
    }
} else {
    header("location: " . $BASE_PATH);
}
?>